package com.czn.service;

import com.czn.entity.Appointment;
import com.czn.vo.QueryVo;
import com.czn.vo.ResponseResult;
import org.beetl.sql.core.engine.PageQuery;

/**
 * @author ChenZeNan
 * @create 2021-04-23 17:11
 */
public interface IAppointmentService {
    PageQuery<Appointment> findAppointmentList(QueryVo queryVo);

    PageQuery<Appointment> findAppointmentListByDoctor(QueryVo queryVo);

    ResponseResult addAppointment(Appointment appointment);

    ResponseResult editAppointment(Appointment appointment);

    Appointment findAppointmentById(Integer id);

    ResponseResult deleteAppointmentById(Integer id);

    Integer addAppointmentReturnId(Appointment appointment);
}
